package cn.wolfcode.edu.service;

import cn.wolfcode.edu.domain. SystemDictionary;
import cn.wolfcode.edu.domain.SystemDictionaryItem;
import java.util.List;

/**
 * Created by abb on 2018-07-11.
 */
public interface ISystemDictionaryService {
    void deleteByPrimaryKey(Long id);

    void insert( SystemDictionary entity);

     SystemDictionary selectByPrimaryKey(Long id);

    List< SystemDictionary> selectAll();

    void updateByPrimaryKey( SystemDictionary entity);
    /**
     * 根据字典编号查询所有子字典
     * @param sn 字典编码
     * @return
     */
    List<SystemDictionaryItem> getItemBySn(String sn);
}
